<script setup lang="ts">
import MyDialog from './components/MyDialog.vue'
</script>

<template>
  <div class="app-page">
    <!-- 变双标签 -->
    <MyDialog >
      <input type="text" placeholder="请输入信息">
    </MyDialog>
    <MyDialog>
      <h2>今天天气真好</h2>
      <input type="date">
    </MyDialog>
    <MyDialog></MyDialog>
    </div>
</template>

<style lang="css" scoped></style>
